package cn.hg.solon.youcan.job.service;

import java.util.Map;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import cn.hg.solon.youcan.common.exception.ServiceException;
import cn.hg.solon.youcan.job.entity.SysJob;

public interface SysJobService extends IService<SysJob> {

    boolean checkUnique(SysJob bean);

    void clear();

    void init() throws ServiceException;

    Page<SysJob> pageByMap(Page<SysJob> page, Map<String, Object> paraMap);

    boolean pause(SysJob bean);

    boolean resume(SysJob bean);

    boolean save(SysJob bean);

    boolean test(SysJob bean);

    boolean update(SysJob bean);

}